Creates a view based on the specified typed data table.

Namespace:  C1.LiveLinq.AdoNet
Assembly:  C1.LiveLinq (in C1.LiveLinq.dll)

Syntax

C#
public static View<TRow> AsLive<TRow>(
	this TypedTableBase<TRow> table
)
where TRow : DataRow
Visual Basic
<ExtensionAttribute> _
Public Shared Function AsLive(Of TRow As DataRow) ( _
	table As TypedTableBase(Of TRow) _
) As View(Of TRow)

Parameters

table
Type: System.Data..::..TypedTableBase<(Of <(<'TRow>)>)>
The typed data table to expose as a view.

Type Parameters

TRow
The type of the rows in the table.

Return Value

A view that contains the same elements as table.

See Also